// import AutoImport from 'unplugin-auto-import/vite'
// import Components from 'unplugin-vue-components/vite'
// import { NaiveUiResolver } from 'unplugin-vue-components/resolvers'





// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  devtools: { enabled: true },
  app: {
    head: {
      titleTemplate: "%s - 蒂莎编程",
      title: "蒂莎编程",
      charset: "utf-8",
      htmlAttrs: {
        lang: "zh-CN"
      },
      meta: [
        { name: "description", content: "蒂莎编程" },
        { name: "keywords", content: "蒂莎编程关键词" }
      ],
      script: [
        { src: "http://xxx.js" }
      ],
      link: [
        { rel: "stylesheet", href: "https://xxx.css" }
      ]
    }
  },
  css: [
    "~/assets/main.css"
  ],
  modules: [
    'nuxt-windicss',
    'nuxtjs-naive-ui'
  ],
  imports: {
    dirs: ['apis']
  }
})